﻿<%@ Page Language="C#" MasterPageFile="MyStudy.master" AutoEventWireup="true" CodeFile="SelectCourse.aspx.cs"
    Inherits="Theme_index_SelectCourse" Title="PowerCreator Learning Management System" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="new_01">
        <div class="position">
            首页 &gt;&gt; 选课中心</div>
        <div class="my_calss">
            <div class="jyzx4_01">
                <div class="xz">
                    <table width="592" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="90">
                                <asp:CheckBox ID="chkAll" runat="server" Text="全选/取消" OnCheckedChanged="chkAll_CheckedChanged"
                                    AutoPostBack="True" />
                            </td>
                            <td width="60">
                                <asp:CheckBox ID="chkCancel" runat="server" Text="反选" OnCheckedChanged="chkCancel_CheckedChanged"
                                    AutoPostBack="True" />
                            </td>
                            <td width="356">
                                <label>
                                    <asp:Button ID="btnSubmit" runat="server" Text="提交" CssClass="inputBotton" OnClick="btn_SubmibClick" />
                                </label>
                            </td>
                            <td width="82">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </div>
                <asp:Repeater ID="rpt_Course" runat="server">
                    <ItemTemplate>
                        <div class="shu_01">
                            <div class="shu_left1">
                                <asp:CheckBox ID="chkSelect" runat="server" />
                                <asp:Label ID="lblid" runat="server" Text='<%#Eval("Course_Id")%>' Visible="False"></asp:Label>
                            </div>
                            <div class="shu_left">
                                <img alt="<%#Eval("CourseName")%>" src="<%#Eval("CourseImgUrl")%>" class="imgstyle"
                                    style="border: 1px solid #99CCFF; margin: 10px" width="117" height="87" /></div>
                            <div class="shu_right">
                                <ul>
                                    <li>
                                        <strong><asp:Label ID="lbl_CourseID" runat="server" Text='<%#Eval("Course_Id")%>' Visible="false"></asp:Label>
                                        <%#PowerCreator.LMS.Common.Utils.StringUtils.GetSubstringLue(Eval("CourseName").ToString(),9)%>&nbsp;&nbsp;
                                        <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="red"></asp:Label></strong></li>
                                    <li>主讲教师：<%#Eval("CourseMostlyTeacherName")%></li>
                                    <li>课程学时：<%#Eval("CoursePeriod")%></li>
                                    <li>资源总数：<%#Eval("CourseResourceNum")%></li>
                                </ul>
                            </div>
                        </div>
                       
                    </ItemTemplate>
                </asp:Repeater>
                <div class="xz">
                    <table width="592" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="94">
                                <asp:CheckBox ID="chkAll2" runat="server" Text="全选/取消" OnCheckedChanged="chkAll_CheckedChanged2"
                                    AutoPostBack="True" />
                            </td>
                            <td width="60">
                                <asp:CheckBox ID="chkCancel2" runat="server" Text="反选" OnCheckedChanged="chkCancel_CheckedChanged2"
                                    AutoPostBack="True" />
                            </td>
                            <td width="356">
                                <label>
                                    <asp:Button ID="Button1" runat="server" Text="提交" CssClass="inputBotton" OnClick="btn_SubmibClick" />
                                </label>
                            </td>
                            <td width="82">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </div>
                <table width="520" border="0" cellspacing="0" cellpadding="0" class="border_style5">
                    <tr>
                        <td align="right">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="border_style5" HorizontalAlign="right"
                                OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Right" Width="100%"
                                meta:resourcekey="AspNetPager1" Style="font-size: 12px" InputBoxStyle="width:19px"
                                CustomInfoHTML="当前第  <font color='red'><b>%CurrentPageIndex%</b></font> /  %PageCount% 页 当前条数 %StartRecordIndex%-%EndRecordIndex%"
                                FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                            </webdiyer:AspNetPager>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
